package com.project.service.impl;

import com.project.bean.ReplayBean;
import com.project.mapper.IReplayMapper;
import com.project.service.IReplayService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Transactional
@Service
public class ReplayImpl implements IReplayService {
    @Autowired
    private IReplayMapper mapper;

    @Override
    public void addReplay(ReplayBean replay) {
        mapper.insert(replay);
    }
}
